package com.jumi.microservice.service;

import com.jm.member.common.core.web.domain.AjaxResult;
import com.jumi.microservice.entity.JmAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 买家地址信息表 服务类
 * </p>
 *
 * @author 要挑客户管理团队
 * @since 2020-09-08
 */
public interface IJmAddressService extends IService<JmAddress>,PageService {

    /**
     * 是否存在默认收货地址
     * @return
     */
    public JmAddress getDefaultAddress(Integer uid);

    JmAddress findMaxNotDefaultObj(Integer uid);
}
